{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>操作书籍</title>
    <link href="{% static 'plugins/bootstrap-3.3.7-dist/css/bootstrap.min.css' %}" rel="stylesheet">
    <script src="{% static 'js/jquery-3.3.1.js' %}"></script>
    <script src="{% static 'plugins/bootstrap-3.3.7-dist/js/bootstrap.min.js' %}"></script>
</head>
<body>
<div class="container">
    {% block head_title %}

    {% endblock %}

    <div class="row">
        <div class="col-md-4 ">
            {% block content %}
                <form action="{% url 'add_book' %}" method="post" class="form-horizontal">

                    <div class="form-group">
                        <label for="title">书籍名称</label>
                        <input type="text" class="form-control" id="title" placeholder="书籍名称" name="title">
                    </div>
                    <div class="form-group">
                        <label for="price">书籍价格</label>
                        <input type="text" class="form-control" id="price" placeholder="书籍价格" name="price">
                    </div>
                    <div class="form-group">
                        <label for="pub_date">出版日期</label>
                        <input type="date" class="form-control" id="pub_date" placeholder="出版日期" name="pub_date">
                    </div>
                    <div class="form-group">
                        <label for="publish">出版社</label>
                        <input type="text" class="form-control" id="publish" placeholder="出版社" name="publish">
                    </div>
                    <button class="btn btn-success pull-right">提交</button>
                </form>
            {% endblock %}

        </div>
    </div>

</div>
</body>
</html>